package com.goodmr.passport.log;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 日志类型
 *
 * @author <a href="mailto:bingdong13@msn.com">bigo</a>
 */
@Getter
@AllArgsConstructor
public enum LogTypeEnum {

    ACCOUNT_REGISTER(10, "帐号注册"),
    ACCOUNT_LOGIN(11, "帐号登录"),
    ACCOUNT_LOGOUT(12, "帐号登出"),
    ACCOUNT_BIND(20, "帐号绑定"),
    ACCOUNT_UNBIND(21, "帐号解绑"),
    ACCOUNT_ALTER(22, "帐号变更"),
    PASSWORD_SET(30, "密码设置"),
    PASSWORD_RESET(31, "密码重置"),
    DEVICE_BIND(40, "设备绑定"),
    DEVICE_UNBIND(41, "设备解绑"),
    DEVICE_ALTER(43, "设备变更");

    private int value;

    private String desc;
}
